<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    

    <title>H+ 后台主题UI框架 - 登录</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
    <link rel="shortcut icon" href="${request.contextPath}/hplus/favicon.ico">
    <link href="${request.contextPath}/hplus/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="${request.contextPath}/hplus/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="${request.contextPath}/hplus/css/animate.min.css" rel="stylesheet">
    <link href="${request.contextPath}/hplus/css/style.min.css?v=4.0.0" rel="stylesheet"><base target="_blank">
    <!--[if lt IE 8]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>
<body class="gray-bg">
    <div class="middle-box text-center loginscreen  animated fadeInDown">
        <div>
            <div>
                <h1 class="logo-name">H+</h1>
            </div>
            <h3>欢迎使用 H+</h3>
            <form class="m-t" id="loginForm" role="form" method="post"
                  action="${request.contextPath}/login" target="_self">
                <div class="form-group">
                    <input id="username" type="text" name="username" class="form-control" placeholder="用户名" required="true">
                </div>
                <div class="form-group">
                    <input id="password" type="password" name="password" class="form-control" placeholder="密码" required="true">
                </div>
                <button type="submit" id="submitBtn" class="btn btn-primary block full-width m-b">登 录</button>
                </p>
            </form>
        </div>
    </div>
    <script src="${request.contextPath}/hplus/js/jquery.min.js?v=2.1.4"></script>
    <script src="${request.contextPath}/hplus/js/bootstrap.min.js?v=3.3.5"></script>
    <script>
 /*       $(document).ready(function(){
            $("#submitBtn").bind("click",function(){
                debugger;
                submit();
            });


        });
        function submit(){
            $.ajax({
                url: '${request.contextPath}/login',
                type: 'POST',
                dataType: 'json',
                data:{
                    username:$('#username').val(),
                    password:$('#password').val(),
                }
            })
            .done(function(dat) {
                if (dat.code!=0) {
                    alert(dat.msg);
                    return
                }else{
                    window.location.href="${request.contextPath}/sysUser/index";
                }
            })
            .fail(function() {
                alert('服务器超时，请重试！');
            });
        }*/

    </script>
</body>

</html>